<!--<script src="/js/constant/constant.js"></script>   -->
<div class="container-fluid ">
    <div class="row">
        <div class="col-xs-3">
            <div class="input-group">
                <span class="input-group-addon">关键词</span>
                <input class="form-control form-focus" id="keywords" autofocus type="text" placeholder="请输入关键词">
            </div>
        </div>

        <div class="col-xs-3">
            <div class="input-group">
                <button class="btn btn-primary " type="button" onclick="queryConstant()">查询</button>
            </div>
        </div>
        <div style="float:right;">
            <button class="btn btn-success" type="button" data-toggle="modal" data-target="#addModal"><i class="icon icon-plus-sign"></i> 添加</button>
        </div>
    </div>
    <br>

    <div class="row">
        <!-- 使用一个div来显示数据表格 -->
        <div class="datatable" data-checkable="true" data-sortable="true"></div </div>
        <div id="kkpager" class="row" style="text-align:center">

        </div>
    </div>
    <!-- 对话框HTML -->
    <div class="modal fade" id="addModal">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">关闭</span></button>
                    <h4 class="modal-title">添加常量</h4>
                </div>
                <div class="modal-body">
                    <link rel="import" href="/view/constant/add.html?__inline">
                </div>
            </div>
        </div>
    </div>

    <script>
        $(document).ready(function() {
            getConstant();
        });
    </script>